﻿using System;
using System.Collections.Generic;
using System.Threading;
using System.Collections.ObjectModel;

namespace XchangeStreamer.OutputSdk.Internal
{
    [Serializable]
    internal sealed class MarketDepth<T>
    {
        #region Private Fields

        #endregion
        
        #region Public Constructors

        private MarketDepth()
        {
        }

        internal MarketDepth(ObservableCollection<T> bids, ObservableCollection<T> asks)
        {
            this.Bids = Factory.Create(bids);
            this.Asks = Factory.Create(asks);
        }

        #endregion

        #region Public Properties

        public IList<T> Bids
        {
            get;
            private set;
        }

        public IList<T> Asks
        {
            get;
            private set;
        }

        #endregion
    }
}
